{% if ansible_distribution_release == "xenial" %}
deb http://{{ apt_mirror }}/ubuntu/ xenial main
deb-src http://{{ apt_mirror }}/ubuntu/ xenial main

deb http://{{ apt_mirror }}/ubuntu/ xenial-updates main
deb-src http://{{ apt_mirror }}/ubuntu/ xenial-updates main

deb http://{{ apt_mirror }}/ubuntu/ xenial universe
deb-src http://{{ apt_mirror }}/ubuntu/ xenial universe

deb http://{{ apt_mirror }}/ubuntu/ xenial-updates universe
deb-src http://{{ apt_mirror }}/ubuntu/ xenial-updates universe

deb http://security.ubuntu.com/ubuntu/ xenial-security main
deb-src http://security.ubuntu.com/ubuntu/ xenial-security main

deb http://security.ubuntu.com/ubuntu/ xenial-security universe
deb-src http://security.ubuntu.com/ubuntu/ xenial-security universe

{% elif ansible_distribution_release == "bionic" %}
deb http://{{ apt_mirror }}/ubuntu/ bionic main restricted universe multiverse
deb-src http://{{ apt_mirror }}/ubuntu/ bionic main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse

deb http://{{ apt_mirror }}/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://{{ apt_mirror }}/ubuntu/ bionic-updates main restricted universe multiverse

deb http://{{ apt_mirror }}/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://{{ apt_mirror }}/ubuntu/ bionic-proposed main restricted universe multiverse

deb http://{{ apt_mirror }}/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://{{ apt_mirror }}/ubuntu/ bionic-backports main restricted universe multiverse

{% endif %}
